function copyVector = getCopyVectorFromTree(tree, copyNums, nodeName)
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here

[mat, id, dists] = getmatrix(tree);
for i = 1:size(id, 1)
    if strcmp(id(i), nodeName) == 1
        copyVector = copyNums(i, :);
        fprintf('found\n');
        return;
    end
end
fprintf('NOT FOUND!\n');
    
end

